package com.dragon.modules.yuegou.entity.pay;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 微信智慧商圈快速积分回调信息表实体类<br>
 * 对应的表为：pay_point_notify<br>
 * 
 * @author pbuilder generated
 * @date 2020-11-20 10:32:50
 * @company sgy
 * @version 2.0
 */
@TableName("pay_point_notify")
@ApiModel(description = "微信智慧商圈快速积分回调信息表")
public class PointNotifyEntity {

    /**  */
	protected String id;

    /** 创建时间 */
	@ApiModelProperty("创建时间")
	protected LocalDateTime createTime;

    /** 通知类型 */
	@ApiModelProperty("通知类型")
	protected String eventType;

    /** 通知数据类型 */
	@ApiModelProperty("通知数据类型")
	protected String resourceType;

    /** 回调摘要 */
	@ApiModelProperty("回调摘要")
	protected String summary;

    /** 加密算法类型 */
	@ApiModelProperty("加密算法类型")
	protected String resAlgorithm;

    /** 加密串 暂时不存 预留字段 */
	@ApiModelProperty("加密串 暂时不存 预留字段")
	protected String resCiphertext;

    /** 原始回调类型 */
	@ApiModelProperty("原始回调类型")
	protected String resOriginalType;

    /** 附加数据 */
	@ApiModelProperty("附加数据")
	protected String resAssociatedData;

    /** 随机串 */
	@ApiModelProperty("随机串")
	protected String resNonce;

    /** resource解密对象_商户号 */
	@ApiModelProperty("resource解密对象_商户号")
	protected String mchid;

    /** resource解密对象_商圈商户名称 */
	@ApiModelProperty("resource解密对象_商圈商户名称")
	protected String merchantName;

    /** resource解密对象_门店名称 */
	@ApiModelProperty("resource解密对象_门店名称")
	protected String shopName;

    /** resource解密对象_门店编号 */
	@ApiModelProperty("resource解密对象_门店编号")
	protected String shopNumber;

    /** 公众账号ID */
	@ApiModelProperty("公众账号ID")
	protected String appid;

    /** 用户标识 */
	@ApiModelProperty("用户标识")
	protected String openid;

    /** 交易完成时间 */
	@ApiModelProperty("交易完成时间")
	protected String timeEnd;

    /** 金额 */
	@ApiModelProperty("金额")
	protected Integer amount;

    /** 微信支付订单号 */
	@ApiModelProperty("微信支付订单号")
	protected String transactionId;

    /** 手动提交积分标记 */
	@ApiModelProperty("手动提交积分标记")
	protected String commitTag;

    /**  */
	protected LocalDateTime createdTime;

	/**
	 * 构造一个空微信智慧商圈快速积分回调信息表实体对象
	 */
	public PointNotifyEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个微信智慧商圈快速积分回调信息表实体对象
	 * 
	 * @param other 其它对象
	 */
	public PointNotifyEntity(PointNotifyEntity other){
		super();
     	this.id = other.id;
     	this.createTime = other.createTime;
     	this.eventType = other.eventType;
     	this.resourceType = other.resourceType;
     	this.summary = other.summary;
     	this.resAlgorithm = other.resAlgorithm;
     	this.resCiphertext = other.resCiphertext;
     	this.resOriginalType = other.resOriginalType;
     	this.resAssociatedData = other.resAssociatedData;
     	this.resNonce = other.resNonce;
     	this.mchid = other.mchid;
     	this.merchantName = other.merchantName;
     	this.shopName = other.shopName;
     	this.shopNumber = other.shopNumber;
     	this.appid = other.appid;
     	this.openid = other.openid;
     	this.timeEnd = other.timeEnd;
     	this.amount = other.amount;
     	this.transactionId = other.transactionId;
     	this.commitTag = other.commitTag;
     	this.createdTime = other.createdTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取创建时间
	 * 
	 * @return createTime 创建时间
	 */
	public LocalDateTime getCreateTime() {
		return createTime;
	}
  	
	/**
	 * 设置创建时间
	 * 
	 * @param createTime 创建时间
	 */
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取通知类型
	 * 
	 * @return eventType 通知类型
	 */
	public String getEventType() {
		return eventType;
	}
  	
	/**
	 * 设置通知类型
	 * 
	 * @param eventType 通知类型
	 */
	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	/**
	 * 获取通知数据类型
	 * 
	 * @return resourceType 通知数据类型
	 */
	public String getResourceType() {
		return resourceType;
	}
  	
	/**
	 * 设置通知数据类型
	 * 
	 * @param resourceType 通知数据类型
	 */
	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	/**
	 * 获取回调摘要
	 * 
	 * @return summary 回调摘要
	 */
	public String getSummary() {
		return summary;
	}
  	
	/**
	 * 设置回调摘要
	 * 
	 * @param summary 回调摘要
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}

	/**
	 * 获取加密算法类型
	 * 
	 * @return resAlgorithm 加密算法类型
	 */
	public String getResAlgorithm() {
		return resAlgorithm;
	}
  	
	/**
	 * 设置加密算法类型
	 * 
	 * @param resAlgorithm 加密算法类型
	 */
	public void setResAlgorithm(String resAlgorithm) {
		this.resAlgorithm = resAlgorithm;
	}

	/**
	 * 获取加密串 暂时不存 预留字段
	 * 
	 * @return resCiphertext 加密串 暂时不存 预留字段
	 */
	public String getResCiphertext() {
		return resCiphertext;
	}
  	
	/**
	 * 设置加密串 暂时不存 预留字段
	 * 
	 * @param resCiphertext 加密串 暂时不存 预留字段
	 */
	public void setResCiphertext(String resCiphertext) {
		this.resCiphertext = resCiphertext;
	}

	/**
	 * 获取原始回调类型
	 * 
	 * @return resOriginalType 原始回调类型
	 */
	public String getResOriginalType() {
		return resOriginalType;
	}
  	
	/**
	 * 设置原始回调类型
	 * 
	 * @param resOriginalType 原始回调类型
	 */
	public void setResOriginalType(String resOriginalType) {
		this.resOriginalType = resOriginalType;
	}

	/**
	 * 获取附加数据
	 * 
	 * @return resAssociatedData 附加数据
	 */
	public String getResAssociatedData() {
		return resAssociatedData;
	}
  	
	/**
	 * 设置附加数据
	 * 
	 * @param resAssociatedData 附加数据
	 */
	public void setResAssociatedData(String resAssociatedData) {
		this.resAssociatedData = resAssociatedData;
	}

	/**
	 * 获取随机串
	 * 
	 * @return resNonce 随机串
	 */
	public String getResNonce() {
		return resNonce;
	}
  	
	/**
	 * 设置随机串
	 * 
	 * @param resNonce 随机串
	 */
	public void setResNonce(String resNonce) {
		this.resNonce = resNonce;
	}

	/**
	 * 获取resource解密对象_商户号
	 * 
	 * @return mchid resource解密对象_商户号
	 */
	public String getMchid() {
		return mchid;
	}
  	
	/**
	 * 设置resource解密对象_商户号
	 * 
	 * @param mchid resource解密对象_商户号
	 */
	public void setMchid(String mchid) {
		this.mchid = mchid;
	}

	/**
	 * 获取resource解密对象_商圈商户名称
	 * 
	 * @return merchantName resource解密对象_商圈商户名称
	 */
	public String getMerchantName() {
		return merchantName;
	}
  	
	/**
	 * 设置resource解密对象_商圈商户名称
	 * 
	 * @param merchantName resource解密对象_商圈商户名称
	 */
	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	/**
	 * 获取resource解密对象_门店名称
	 * 
	 * @return shopName resource解密对象_门店名称
	 */
	public String getShopName() {
		return shopName;
	}
  	
	/**
	 * 设置resource解密对象_门店名称
	 * 
	 * @param shopName resource解密对象_门店名称
	 */
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	/**
	 * 获取resource解密对象_门店编号
	 * 
	 * @return shopNumber resource解密对象_门店编号
	 */
	public String getShopNumber() {
		return shopNumber;
	}
  	
	/**
	 * 设置resource解密对象_门店编号
	 * 
	 * @param shopNumber resource解密对象_门店编号
	 */
	public void setShopNumber(String shopNumber) {
		this.shopNumber = shopNumber;
	}

	/**
	 * 获取公众账号ID
	 * 
	 * @return appid 公众账号ID
	 */
	public String getAppid() {
		return appid;
	}
  	
	/**
	 * 设置公众账号ID
	 * 
	 * @param appid 公众账号ID
	 */
	public void setAppid(String appid) {
		this.appid = appid;
	}

	/**
	 * 获取用户标识
	 * 
	 * @return openid 用户标识
	 */
	public String getOpenid() {
		return openid;
	}
  	
	/**
	 * 设置用户标识
	 * 
	 * @param openid 用户标识
	 */
	public void setOpenid(String openid) {
		this.openid = openid;
	}

	/**
	 * 获取交易完成时间
	 * 
	 * @return timeEnd 交易完成时间
	 */
	public String getTimeEnd() {
		return timeEnd;
	}
  	
	/**
	 * 设置交易完成时间
	 * 
	 * @param timeEnd 交易完成时间
	 */
	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}

	/**
	 * 获取金额
	 * 
	 * @return amount 金额
	 */
	public Integer getAmount() {
		return amount;
	}
  	
	/**
	 * 设置金额
	 * 
	 * @param amount 金额
	 */
	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	/**
	 * 获取微信支付订单号
	 * 
	 * @return transactionId 微信支付订单号
	 */
	public String getTransactionId() {
		return transactionId;
	}
  	
	/**
	 * 设置微信支付订单号
	 * 
	 * @param transactionId 微信支付订单号
	 */
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	/**
	 * 获取手动提交积分标记
	 * 
	 * @return commitTag 手动提交积分标记
	 */
	public String getCommitTag() {
		return commitTag;
	}
  	
	/**
	 * 设置手动提交积分标记
	 * 
	 * @param commitTag 手动提交积分标记
	 */
	public void setCommitTag(String commitTag) {
		this.commitTag = commitTag;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

    public String toString() {
		return new StringBuilder().append("PointNotifyEntity{").
			append("id=").append(id).
			append(",createTime=").append(createTime).
			append(",eventType=").append(eventType).
			append(",resourceType=").append(resourceType).
			append(",summary=").append(summary).
			append(",resAlgorithm=").append(resAlgorithm).
			append(",resCiphertext=").append(resCiphertext).
			append(",resOriginalType=").append(resOriginalType).
			append(",resAssociatedData=").append(resAssociatedData).
			append(",resNonce=").append(resNonce).
			append(",mchid=").append(mchid).
			append(",merchantName=").append(merchantName).
			append(",shopName=").append(shopName).
			append(",shopNumber=").append(shopNumber).
			append(",appid=").append(appid).
			append(",openid=").append(openid).
			append(",timeEnd=").append(timeEnd).
			append(",amount=").append(amount).
			append(",transactionId=").append(transactionId).
			append(",commitTag=").append(commitTag).
			append(",createdTime=").append(createdTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public PointNotifyEntity copy() {
		return new PointNotifyEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 创建时间 */
	public static final String COL_CREATE_TIME = "create_time";

    /** 通知类型 */
	public static final String COL_EVENT_TYPE = "event_type";

    /** 通知数据类型 */
	public static final String COL_RESOURCE_TYPE = "resource_type";

    /** 回调摘要 */
	public static final String COL_SUMMARY = "summary";

    /** 加密算法类型 */
	public static final String COL_RES_ALGORITHM = "res_algorithm";

    /** 加密串 暂时不存 预留字段 */
	public static final String COL_RES_CIPHERTEXT = "res_ciphertext";

    /** 原始回调类型 */
	public static final String COL_RES_ORIGINAL_TYPE = "res_original_type";

    /** 附加数据 */
	public static final String COL_RES_ASSOCIATED_DATA = "res_associated_data";

    /** 随机串 */
	public static final String COL_RES_NONCE = "res_nonce";

    /** resource解密对象_商户号 */
	public static final String COL_MCHID = "mchid";

    /** resource解密对象_商圈商户名称 */
	public static final String COL_MERCHANT_NAME = "merchant_name";

    /** resource解密对象_门店名称 */
	public static final String COL_SHOP_NAME = "shop_name";

    /** resource解密对象_门店编号 */
	public static final String COL_SHOP_NUMBER = "shop_number";

    /** 公众账号ID */
	public static final String COL_APPID = "appid";

    /** 用户标识 */
	public static final String COL_OPENID = "openid";

    /** 交易完成时间 */
	public static final String COL_TIME_END = "time_end";

    /** 金额 */
	public static final String COL_AMOUNT = "amount";

    /** 微信支付订单号 */
	public static final String COL_TRANSACTION_ID = "transaction_id";

    /** 手动提交积分标记 */
	public static final String COL_COMMIT_TAG = "commit_tag";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";
}
